// ConfigManager.h: interface for the CConfigManager class.
//
//////////////////////////////////////////////////////////////////////
#pragma once 
#if !defined(AFX_CONFIGMANAGER_H__EEE94D98_CBDB_4445_97AA_03870B5B0E72__INCLUDED_)
#define AFX_CONFIGMANAGER_H__EEE94D98_CBDB_4445_97AA_03870B5B0E72__INCLUDED_

#include "AFXTEMPL.H"

class CConfigManager  
{
private:
	CMap<CString,LPCTSTR,CString,CString&> m_mapConfigItem;
	CConfigManager();
	static CConfigManager* m_pInstance;
public:	
	CString FindKey(CString strKey);
	BOOL Clear();
	BOOL SaveToFile();
	BOOL ReadFromFile();
	BOOL AddItem(CString strKey,CString strValue);
	static CConfigManager* CreateInstance();
	virtual ~CConfigManager();
};
#endif // !defined(AFX_CONFIGMANAGER_H__EEE94D98_CBDB_4445_97AA_03870B5B0E72__INCLUDED_)
